/*
 * (C) 2012 Sheng Yi
 * This program simulate some operations about fork()
 * fork() is amazing, also confusing, call once and return twice
 */
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>

int main()
{
	int i;
	for (i = 0; i < 2; i++)
	{
		fork();
		//printf("-");
		printf("-\n");
	}
	return;
}
